package com.qa.service;

import com.github.pagehelper.PageInfo;
import com.qa.common.ServerResponse;
import com.qa.pojo.Contact;
import com.qa.pojo.User;

public interface IContactService {
    ServerResponse add(Contact contact, User user);

    PageInfo<Contact> getByEmail(String userEmail, Integer pageNum, Integer pageSize);

    Contact getById(Integer id);

    ServerResponse deleteById(Integer id);
}
